package org.jeecg.vo.basedata;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecg.entity.meter.MeterHandRead;
import org.jeecg.modules.system.entity.BaseEntity;
import org.jeecgframework.poi.excel.annotation.Excel;

import java.util.List;

@Data
public class BaseRoomMeterVo  extends BaseEntity   {

    /**房间ID*/
    @TableId(type = IdType.UUID)
    @ApiModelProperty(value = "房间ID")
    private String id;
    /**项目ID*/
    @Excel(name = "项目ID", width = 15)
    @ApiModelProperty(value = "项目ID")
    @Dict(dicCode = "id",dictTable="base_project",dicText="name")
    private String projectId;
    /**楼宇ID*/
    @Excel(name = "楼宇ID", width = 15)
    @ApiModelProperty(value = "楼宇ID")
    @Dict(dicCode = "id",dictTable="base_floor",dicText="name")
    private String floorId;
    @TableField(exist =false)
    private String roomId;
    /**房间编号*/
    @Excel(name = "房间编号", width = 15)
    @ApiModelProperty(value = "房间编号")
    private String code;
    /**房间全称*/
    @Excel(name = "房间全称", width = 15)
    @ApiModelProperty(value = "房间全称")
    private String name;
    /**删除标识*/
    @TableLogic
    @Excel(name = "删除标识", width = 15)
    @ApiModelProperty(value = "删除标识")
    private String delFlag;
    private String address;
    private String preRead;
    private String newRead;
    private String used;
    private String readMonth;
    private String mhrId;
    @Dict(dicCode ="id" ,dictTable ="charge_feeitem" ,dicText = "fee_name")
    private String feeId;

    private List<MeterHandRead> meterHandReadList;
    private List<String> readMonthList;
}
